package Basics;

public class 方法重载 {
    public static void main(String[] args) {
        b(1,2);
    }
    public static void b(byte a, byte b) {
        System.out.println(a < b ?  b : a);
    }
    public static void b(short a, short b) {
        System.out.println(a < b ?  b : a);
    }
    public static void b(int a, int b) {
        System.out.println(a < b ?  b : a);
    }
    public static void b(long a, long b) {
        System.out.println(a < b ?  b : a);
    }
}
